#include "MainWindowBase.h"
#include "assert.h" 
OCEANUI::CMainWindowBase::CMainWindowBase(void)
{
	assert(connect(this,SIGNAL( notifyEventChange(void* ,void* )),this,SLOT(onEvent(void* ,void* )))) ;
    sOnly = this;
}

OCEANUI::CMainWindowBase::~CMainWindowBase(void)
{
}

void OCEANUI::CMainWindowBase::onEventChanged(void* pParam,void* pSender)
{
   emit notifyEventChange(pParam,pSender);
}

void OCEANUI::CMainWindowBase::hookEvent(const QObject* pHookee)
{			
 
connect(this,SIGNAL( notifyEventChange(void* ,void* )),pHookee,SLOT(OnEvent(void*,void*)));
}
void OCEANUI::CMainWindowBase::onEvent(void* pParam,void* pSender)
{}

OCEANUI::CMainWindowBase* OCEANUI::CMainWindowBase::sOnly = NULL;